package com.scnu.common.exception;

import com.scnu.common.constants.HttpCodeConstants;
import lombok.Getter;
import lombok.Setter;

/**
 * 业务异常类
 *
 */
@Getter
@Setter
public class ServiceException extends BaseException
{



    public ServiceException(String message) {
        super(message, HttpCodeConstants.InternalServerError);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause, HttpCodeConstants.InternalServerError);
    }

    public ServiceException(Throwable cause) {
        super(cause, HttpCodeConstants.InternalServerError);
    }



}